<?php
namespace Home\Model;

use Think\Model;

class TestModel extends Model {
	
	public function _initialize() {
		$_POST = $_GET;
		$this->_validate[0][6]['g'] = 'dfdf';
	}
	
	protected $_validate = array(
		array('cid','check_invited','邀请人不存在!',0,'callback',3,array('a'=>33) ),
	);
	
	protected function check_invited( $d, $a ) {
		$dfd = func_get_args();
		dump($dfd);
		dump($d);
		exit;
	}
	
}